package com.nit.store.ex;


import com.nit.store.web.JsonResult;

public class ServiceException extends RuntimeException {
    private JsonResult.State state;

    public ServiceException() {
    }

    public ServiceException(JsonResult.State state, String message) {
        super(message);
        this.state = state;
    }

    public JsonResult.State getState() {
        return state;
    }
}
